R Notes





Extract flickr images

#================= locate <noscript and the next line or <img take also the alt suppliment https://c1.staticflickr.com/2/1774/42100824205_e82d7bfd4f_b.jpg 1910s Wydham street | by Eternal1966 https://c1.staticflickr.com/1/888/42100820185_dba9c38089_z.jpg 1930s Star Ferry boat https://c1.staticflickr.com/1/880/29118782868_1cfb3233cc.jpg 1956 Queen's Rd https://c1.staticflickr.com/1/895/29118783218_185e5afb05_z.jpg 1950 WC Hennessy Rd https://www.flickr.com/photos/hoting2000/42016735445/in/feed 1920s KCR Train station

Extract Google Plus images

#================= control u find -no" click the third img

batch Extract Google Plus images

#================= final addr: https://plus.google.com/u/0/photos/photo/110788879273743149533/6578192522038422498?sqid=117349602255387050641&ssid=ea2d714f-9aff-413e-9e0a-64519bc1c7bd copmose data file: https://plus.google.com/photos/110788879273743149533/albums/6578192521022701009/6578192522038422498 data-sqid="117349602255387050641" data-ssid="ea2d714f-9aff-413e-9e0a-64519bc1c7bd" this will extract addr only =============== locate stories extract address and open page view source and loacte all user address copy all lines followings eg 6116332660006005777/6116332660477649922" class="e6ttk" jsname="ibnC6b" jslog="6959; 6116332660006005777/6116332660629679170" class="e6ttk" jsname="ibnC6b" jslog="6959; =============== 封面照片
个人资料封面照片 https://lh3.googleusercontent.com/-8QwM_VqOOJo/WCRh5yLq0JI/AAAAAAAAFAM/pZrUT0B4M0AbdZ-ef4Y6GZRd_tzCbyyRgCJkCGAYYCw/s2000-fcrop64=1,088f204af38be90a/DSC07647-2.jpg https://lh3.googleusercontent.com/-8QwM_VqOOJo/WCRh5yLq0JI/AAAAAAAAFAM/pZrUT0B4M0AbdZ-ef4Y6GZRd_tzCbyyRgCJkCGAYYCw/s3000-fcrop64=1,088f204af38be90a/DSC07647-2.jpg =============== to locate image pointers, seek for: https://plus.google.com/photos/ =============== to locate youtube video, seek for: https://www.youtube.com/watch the thumbnail is at: "thumbnail":{"thumbnails":[{"url":"https://i.ytimg.com/vi/Q_CMnRSzbbk/hqdefault.jpg?sqp=-oaymwEYCKgBEF5IVfKriqkDCwgBFQAAiEIYAXAB\u0026rs=AOn4CLDLuA-V4-mX2Xop-3-ep__V4NVmqw", that is: https://i.ytimg.com/vi/Q_CMnRSzbbk/hqdefault.jpg

Extract cagle images

#================= image.cagle icon https://image.cagle.com/211431/373/211431.png real https://image.cagle.com/211431/1155/211431.png https://image.cagle.com/153636/150/153636.png https://image.cagle.com/153636/1155/153636.png

Extract pinterest images

#================= F12 to copy body locate 4x> or loacte 3x, and then line feed and extract 4x lines since image size different, set css min-width and max-width Extract images Notes.html

function revFmImgList

#================= detect localstorage if list exist if not, create one with full list if list length is 0, rewrite it algoritm display one, remove item from list if list length is 0, rewrite it, and reload full list if (localStorage.getItem("remainImgList") === null) { localStorage.remainImgList = JSON.stringify(ImgList); newImgList = ImgList; } else{ newImgList = JSON.parse(localStorage.remainImgList); if(newImgList.length === 0){ newImgList = ImgList; localStorage.remainImgList = JSON.stringify(ImgList); } } function revFmImgList("something") { newImgList.splice(newImgList.indexOf("something"), 1); localStorage.remainImgList = JSON.stringify(newImgList); if(newImgList.length === 0){ newImgList = ImgList; localStorage.remainImgList = JSON.stringify(ImgList); } }